import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose';
@Schema()
export class Max {
    @Prop({ type: String })
    name?: string;
    @Prop({ type: String })
    shopname?: string;
    @Prop({ type: Number })
    price?: number;
    @Prop({ type: Number })
    vipprice?: number;
    @Prop({ type: Number })
    cost?: number;
    @Prop({ type: Number })
    boxfee?: number;
    @Prop({ type: String })
    image?: string;
    @Prop({ type: String })
    text?: string;
    @Prop({ type: Boolean })
    state?: boolean;
    @Prop({ type: Array })
    children?: Array<any>;
}
export const MaxSchema = SchemaFactory.createForClass(Max)